
#ifndef __HTTP_CMD_TEST_SQLITE_H
#define __HTTP_CMD_TEST_SQLITE_H

#include "HttpCmdBase.h"
#include <vector>
#include <string>

enum LOG_CMD_TYPE
{
    TYPE_ADD_LOG = 0,
    TYPE_DEL_LOG,
    TYPE_CLEAR_LOG,
    TYPE_INVALID
};

class CHttpCmdTestSqlite : public CHttpCmdBase
{
public:
    CHttpCmdTestSqlite();
    ~CHttpCmdTestSqlite();

private:
    bool CheckParamVaild(const std::string &strReqMessage);
    bool FillRspData(std::string &strRspData);

    void ClearCmdLocalData();

    static LOG_CMD_TYPE GetTypeEnumByString(const std::string &strCmdType);
    bool ExecuteCommand();

    LOG_CMD_TYPE m_nCmdType;
    int m_nCount;
    std::string m_strText;
};

#endif